package com.koc.robot.freetype;

import java.nio.ByteBuffer;

public class Bitmap extends Pointer
{
	Bitmap(long address)
	{
		super(address);
	}
	
	public int getRows()
	{
		return getRows(address);
	}
	
	private static native int getRows(long bitmap);

	public int getWidth()
	{
		return getWidth(address);
	}
	
	private static native int getWidth(long bitmap);
	
	public int getPitch()
	{
		return getPitch(address);
	}
	
	private static native int getPitch(long bitmap);

	public ByteBuffer getBuffer()
	{
		return getBuffer(address);
	}
	
	private static native ByteBuffer getBuffer(long bitmap);
	
	public int getNumGray()
	{
		return getNumGray(address);
	}
	
	private static native int getNumGray(long bitmap);
	
	public int getPixelMode()
	{
		return getPixelMode(address);
	}
	
	private static native int getPixelMode(long bitmap);
}

